package com.jeeww.web.demo.service;

import java.util.Map;

import com.jeeww.web.demo.dto.ActivitiTestDTO;

/**
 * 类描述：接口.
 * @author 蒋文武
 */
public interface TestService {
    /**
     * 功能描述：insert.
     * @return String.
     * @throws Exception e.
     */
    String insertA() throws Exception;

    /**
     * 功能描述：请假申请流程启动.
     * @param variables 请假流程参数
     * @return String.
     * @throws Exception e.
     */
    String vacationApply(Map<String, Object> variables) throws Exception;

    /**
     * 功能描述：请假审批.
     * @param activitiTestDTO 请假流程参数
     * @return String.
     * @throws Exception e.
     */
    String vacationApprove(ActivitiTestDTO activitiTestDTO) throws Exception;

    /**
     * 功能描述：请假审批.
     * @return String.
     * @throws Exception e.
     */
    String loadFormData() throws Exception;
}
